home *** CD-ROM | disk | FTP | other *** search
- .key adspec/s
- ; Adspec Programming
- ; Install script for Aladdin 4D version 3.2 upgrade disk
- ; Last revised: April 13, 1994
-
- .bra «
- .ket »
-
- echo "*Ec*N*N*N*E[1m Welcome to Aladdin 4D version 3.2 !"
- echo "*E[0m*NThis script file will decompress the files that will upgrade you"
- echo "to version 3.2 of Aladdin 4D. You must have already installed version"
- echo "3.0 before you can install version 3.2. This script will only modify"
- echo "those files that have changed. You will be asked whether you want to"
- echo "upgrade the files on your hard drive or floppy disks. If you are going"
- echo "to upgrade the files on floppy disks, make sure that you run the"
- echo "*E[1mMakeAssignsFP*E[0m program on your A4D_3.0 disk before you run this script."
- echo "Also, for floppy upgrades, you will need a blank disk so that we can"
- echo "install the sample fountain drawing and its textures. The disk will"
- echo "automatically be formatted by the script file."
-
- ask "*N*N*E[1mDo you wish to upgrade to version 3.2 of Aladdin 4D at this time (Y/N) ? *E[0m"
- if not warn
- skip exit
- endif
-
- lab horfdisk
- ; find out whether we are installing to floppy or hard drive
- echo "*EcWe will need to know whether you would like to upgrade the files"
- echo "on your hard drive or on the floppy disks."
- echo "*N*N*E[1mWould you like to upgrade the Aladdin 4D files on your"
- ask "hard drive (Y/N) ? *E[0m"
- if not warn
- skip floppyinstall
- endif
-
- ; hard drive installation
- echo "*EcYou have chosen to upgrade the Aladdin 4D files on your *E[1mhard disk*E[0m"
- echo "device."
- ask "*N*E[1mIs this correct (Y/N) ? *E[0m"
- if not warn
- skip floppyinstall
- endif
-
- ; install 3.2 upgrade to hard disk
- ; set up ram:
- echo "*NSetting up files in RAM:"
- makedir >NIL: ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:lharc ram:ALTemp
-
- echo "*NCopying archives to ram:"
- copy Aladdin_4D_3.2_Upgrade:Drawings.LZH ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:Help.LZH ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:Program.LZH ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:Support.LZH ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:Textures.LZH ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:Tools.LZH ram:ALTemp
-
- echo "Dearchiving archives"
- ram:ALTemp/lharc -x -m x ram:ALTemp/Drawings.LZH Aladdin4D:
- ram:ALTemp/lharc -x -m x ram:ALTemp/Help.LZH Aladdin4DHelp:
- ram:ALTemp/lharc -x -m x ram:ALTemp/Program.LZH Aladdin4D:
- ram:ALTemp/lharc -x -m x ram:ALTemp/Support.LZH Aladdin4D:
- ram:ALTemp/lharc -x -m x ram:ALTemp/Textures.LZH Aladdin4D:
- ram:ALTemp/lharc -x -m x ram:ALTemp/Tools.LZH Aladdin4DTools:
-
- echo "Deleting archives"
- delete >NIL: ram:ALTemp/Drawings.LZH
- delete >NIL: ram:ALTemp/Help.LZH
- delete >NIL: ram:ALTemp/Program.LZH
- delete >NIL: ram:ALTemp/Support.LZH
- delete >NIL: ram:ALTemp/Textures.LZH
- delete >NIL: ram:ALTemp/Tools.LZH
-
- skip finished
-
- ; floppy installation
- lab floppyinstall
- echo "*EcYou have chosen to upgrade the Aladdin 4D files on your *E[1mfloppy disk*E[0m"
- echo "device."
- ask "*N*E[1mIs this correct (Y/N) ? *E[0m"
- if not warn
- skip horfdisk back
- endif
-
- ; install 3.2 upgrade to floppy disks
- ; set up ram:
- echo "*NSetting up files in RAM:"
- makedir >NIL: ram:ALTemp
- copy sys:system/format ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:lharc ram:ALTemp
-
- echo "*NCopying archives to ram:"
- copy Aladdin_4D_3.2_Upgrade:Drawings.LZH ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:Help.LZH ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:MAFP.LZH ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:Program.LZH ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:Support.LZH ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:Textures.LZH ram:ALTemp
- copy Aladdin_4D_3.2_Upgrade:Tools.LZH ram:ALTemp
-
- echo "Dearchiving archives"
- ram:ALTemp/lharc -x -m x ram:ALTemp/Help.LZH Aladdin4DHelp:
- ram:ALTemp/lharc -x -m x ram:ALTemp/MAFP.LZH A4D_3.0:
- ram:ALTemp/lharc -x -m x ram:ALTemp/Program.LZH A4D_3.0:
- relabel A4D_3.0: A4D_3.2
- ram:ALTemp/lharc -x -m x ram:ALTemp/Support.LZH Aladdin4D:
- ram:ALTemp/lharc -x -m x ram:ALTemp/Tools.LZH Aladdin4DTools:
-
- ; install sample fountain drawing
- echo "*EcWe will use drive *E[1mDF0:*E[0m to install the Fountain drawing."
- wait 1
- echo "Please remove any disk in drive *E[1mDF0:*E[0m."
- echo "Hit *E[1mRETURN*E[0m to continue." noline
- set >NIL: 4dcont ?
- echo "*NCreating Fountain sample drawing disk"
- echo "*N*NAny information on the disk that will be inserted will be lost!!"
- echo "This disk will be named: *E[1mFSample*E[0m"
- echo "Please wait for drive activity light to go out before hitting *E[1mRETURN*E[0m"
- wait 1
- failat 21
- ram:ALTemp/format drive df0: name FSample noicons
- if error
- skip exit
- endif
- echo "Dearchiving archives for disk FSample"
- ram:ALTemp/lharc -x -m x ram:ALTemp/Drawings.LZH FSample:
- ram:ALTemp/lharc -x -m x ram:ALTemp/Textures.LZH FSample:
-
- echo "Deleting archives"
- delete >NIL: ram:ALTemp/Drawings.LZH
- delete >NIL: ram:ALTemp/Help.LZH
- delete >NIL: ram:ALTemp/MAFP.LZH
- delete >NIL: ram:ALTemp/Program.LZH
- delete >NIL: ram:ALTemp/Support.LZH
- delete >NIL: ram:ALTemp/Textures.LZH
- delete >NIL: ram:ALTemp/Tools.LZH
-
- ; finished installing, clean up files
- lab finished
- echo "*NDeleting setup files"
- cd ram:
- delete >NIL: ram:ALTemp all
-
- echo "*N*NInstallation of Aladdin 4D version 3.2 is complete. Please"
- echo "reboot your computer before running the new version to make sure"
- echo "that all of the changes have taken effect. Enjoy!*N*N*N"
- wait 5
- skip done
-
- lab exit
- cd ram:
- delete >NIL: ram:ALTemp all
- echo "*N*NInstallation of Aladdin 4D version 3.2 aborted!*N*N*N"
- wait 3
- lab done
-